/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.DragonPokerClient.Classes;

/**
 *
 * @author alien
 */
public class Room {

    private int id;
    private String name;
    private String password;
    private int state;
    private int startTime;
    private int endTime;
    private int maxPlayers;
    private int playersIn;
    private int startBlind;

    public Room() {
    }

    public Room(int id, String name, String password, int state, int startTime, int endTime, int maxPlayers, int playersIn, int startBlind) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.state = state;
        this.startTime = startTime;
        this.endTime = endTime;
        this.maxPlayers = maxPlayers;
        this.playersIn = playersIn;
        this.startBlind = startBlind;
    }

    public int getEndTime() {
        return endTime;
    }

    public void setEndTime(int endTime) {
        this.endTime = endTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getMaxPlayers() {
        return maxPlayers;
    }

    public void setMaxPlayers(int maxPlayers) {
        this.maxPlayers = maxPlayers;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getPlayersIn() {
        return playersIn;
    }

    public void setPlayersIn(int playersIn) {
        this.playersIn = playersIn;
    }

    public int getStartBlind() {
        return startBlind;
    }

    public void setStartBlind(int startBlind) {
        this.startBlind = startBlind;
    }

    public int getStartTime() {
        return startTime;
    }

    public void setStartTime(int startTime) {
        this.startTime = startTime;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return getName();
    }



}
